<template>
  <global-layout>
    <template>
      <ConetentPanel>
        <SideMenu></SideMenu>
        <!-- -->
        <div class="scrollbar" style="flex:1 ;padding:10px 10px;    overflow-y: auto;overflow-x: hidden;">
          <!-- <Loading v-show="loading"></Loading> -->
          <router-view />
        </div>
      </ConetentPanel>
    </template>
    <SlidingWindow ></SlidingWindow>
   
  </global-layout>
</template>

<script>
// import Loading from "@/components/Tools/Loading.vue";
import ConetentPanel from "@/components/Tools/ConetentPanel.vue";
import GlobalLayout from "@/components/Page/GlobalLayout.vue";
import SlidingWindow from "@/components/Tools/slidingWindow.vue";
import SideMenu from "@/components/Menu/SideMenu.vue";
import { Mixin } from "@/mixins/mixin.js";

export default {
  mixins: [Mixin],
  name: "TabLayout",
  data() {
    return {
    
    };
  },
  components: {
     
    // Loading,
    GlobalLayout,
    SlidingWindow,
    SideMenu,
    ConetentPanel
  },
  /* update_begin author:wuxianquan date:20190828 for: 关闭当前tab页，供子页面调用 ->望菜单能配置外链，直接弹出新页面而不是嵌入iframe #428 */

  /* update_end author:wuxianquan date:20190828 for: 关闭当前tab页，供子页面调用->望菜单能配置外链，直接弹出新页面而不是嵌入iframe #428 */
  computed: {},
  created() {},
  mounted() {}
};
</script>

<style lang="scss">
@import "@/assets/css/scrollbar.scss";
</style>
